package com.first.xiinn.dao;

import java.util.Date;
import java.util.List;

import com.first.core.dao.BaseDao;
import com.first.core.util.PagingBean;
import com.first.xiinn.model.InMessage;
import com.first.xiinn.model.ShortMessage;

public abstract interface InMessageDao extends BaseDao<InMessage>
{
  public abstract InMessage findByRead(String paramLong);

  public abstract Integer findByReadFlag(String paramLong);

  public abstract List<InMessage> findAll(String paramLong, PagingBean paramPagingBean);

  public abstract List<InMessage> findByShortMessage(ShortMessage paramShortMessage, PagingBean paramPagingBean);

  public abstract List findByUser(String paramLong, PagingBean paramPagingBean);

  public abstract List findByUser(String paramLong);

  public abstract List searchInMessage(String paramLong, InMessage paramInMessage, ShortMessage paramShortMessage, Date paramDate1, Date paramDate2, PagingBean paramPagingBean);

  public abstract InMessage findLatest(String paramLong);
}

